package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.DealSlideshowDao;
import com.bootdo.system.domain.DealSlideshowDO;
import com.bootdo.system.service.DealSlideshowService;



@Service
public class DealSlideshowServiceImpl implements DealSlideshowService {
	@Autowired
	private DealSlideshowDao dealSlideshowDao;
	
	@Override
	public DealSlideshowDO get(Integer id){
		return dealSlideshowDao.get(id);
	}
	
	@Override
	public List<DealSlideshowDO> list(Map<String, Object> map){
		return dealSlideshowDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return dealSlideshowDao.count(map);
	}
	
	@Override
	public int save(DealSlideshowDO dealSlideshow){
		return dealSlideshowDao.save(dealSlideshow);
	}
	
	@Override
	public int update(DealSlideshowDO dealSlideshow){
		return dealSlideshowDao.update(dealSlideshow);
	}
	
	@Override
	public int remove(Integer id){
		return dealSlideshowDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return dealSlideshowDao.batchRemove(ids);
	}
	
}
